package com.zhang.common.DTO;

import lombok.Data;

import javax.validation.constraints.NotBlank;

//用于修改密码
@Data
public class PasswordDto {

    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;
    @NotBlank(message = "旧密码不能为空")
    private String newPassword;
    private String checkPassword;
}
